Skip to content

Conversation

@zyw-bot
Copy link
Collaborator

@zyw-bot zyw-bot commented Sep 24, 2025

Link: llvm/llvm-project#109131
Requested by: @fhahn

@github-actions github-actions bot mentioned this pull request Sep 24, 2025
@zyw-bot
Copy link
Collaborator Author

zyw-bot commented Sep 24, 2025

Diff mode

runner: ariselab-64c-docker
baseline: llvm/llvm-project@92e5060
patch: llvm/llvm-project#109131
sha256: 57121419ba5d2d9351c60847f81c66dd5e6fced6799e8fe621411617293fe530
commit: 15acefa

511 files changed, 431611 insertions(+), 427712 deletions(-)

Improvements:
  alignment-from-assumptions.NumMemIntAlignChanged 1 -> 2 +100.00%
  alignment-from-assumptions.NumLoadAlignChanged 8 -> 10 +25.00%
  simplifycfg.NumSpeculations 408076 -> 408357 +0.07%
  early-cse.NumCSE 5700454 -> 5700833 +0.01%
  scalar-evolution.NumExitCountsComputed 4187765 -> 4187966 +0.00%
  scalar-evolution.NumExitCountsNotComputed 12317529 -> 12317971 +0.00%
  instcombine.NumConstProp 163682 -> 163686 +0.00%
  gvn.NumGVNInstr 155499 -> 155502 +0.00%
  gvn.NumGVNPRE 155499 -> 155502 +0.00%
  function-attrs.NumNoFree 793857 -> 793872 +0.00%
Regressions:
  dse.NumFastOther 510520 -> 510143 -0.07%
  simplifycfg.NumHoistCommonInstrs 2513117 -> 2512413 -0.03%
  simplifycfg.NumHoistCommonCode 870500 -> 870366 -0.02%
  instcombine.NumSunkInst 3498553 -> 3498283 -0.01%
  correlated-value-propagation.NumPhis 1294450 -> 1294399 -0.00%
  adce.NumRemoved 98696 -> 98694 -0.00%
  globalsmodref-aa.NumReadMemFunctions 1214780 -> 1214758 -0.00%
  loop-instsimplify.NumSimplified 188180 -> 188177 -0.00%
  gvn.IsValueFullyAvailableInBlockNumSpeculationsMax 605562 -> 605553 -0.00%
  licm.NumSunk 279005 -> 279002 -0.00%

zxing/DMDetector.ll fail

+66 meilisearch-rs/48hhebymxr5ff2nk.ll
+37 diesel-rs/1og08er27yrgxd4i.ll
+33 uv-rs/8ofulk24np18t2tte1m3ti54i.ll
+26 uv-rs/8dp7gdksknttvys0j8mob4eqo.ll
+24 turborepo-rs/biao4obspv7dslqs4nc94og1x.ll
+24 uv-rs/epze99ydm54khb1q2ay8jylmw.ll
+21 pingora-rs/63snncgsqpi17trm0hdteq5vk.ll
+20 uv-rs/8yltps2gwoc30n0c0zr06ejhk.ll
+20 wasmtime-rs/4oustitdsdvnhdau.ll
+18 rust-analyzer-rs/4dj9fscdf5c509wz.ll
+16 uv-rs/6lifoqdf32s4rqxd7yg6o6y9j.ll
+15 syn/ofvfd67uyaewjlc.ll
+14 uv-rs/86atqzuq5wuvm5samw7373hn4.ll
+13 typst-rs/40w6rezair915kkd.ll
+12 stat-rs/20o1n4zmlkej35p7.ll
+12 uv-rs/3gp2xi9dzv710el9nlmazngi5.ll
+11 pingora-rs/2ov174hlbjn2zukn47jy5qk00.ll
+10 pingora-rs/bvwglp2tpp41rgrf36efmuws6.ll
+10 typst-rs/4qskctz4kwc33g7b.ll
+10 uv-rs/1v5vjcevp56t5ndlvgh9f608z.ll
+9 diesel-rs/ejac3nrysber2ti.ll
+9 wasmi-rs/cfqsonek5l7h839gg4bayo6fi.ll
+8 ruff-rs/bzh9h554ycapgq7g6ci0s8oxl.ll
+8 syn/2i67i8azb4r5b3mw.ll
+8 turborepo-rs/74s3x9u7hld928rwmttmetb1y.ll
+8 uv-rs/dv79qfcpy73s7ozlb66podgd3.ll
+7 coreutils-rs/2i3dvgzkmy2gn6v1.ll
+7 mini-lsm-rs/haynj55bb7tm6r1.ll
+7 pingora-rs/031lstpg0hmrazohafgtmu7kw.ll
+7 quinn-rs/7i3tllkclkw46e2nqel8doaek.ll
+7 wasmtime-rs/51qw21auwj5g8lkq.ll
+6 meilisearch-rs/17jh51lasapq4j93.ll
+6 pingora-rs/9te2jnn39flv18ab4y212u8re.ll
+6 pingora-rs/emxuqz96yme1p1ywofm59uhbl.ll
+6 ruff-rs/9nvvpt1ezz0xq4qxcl2hj9bws.ll
+6 rust-analyzer-rs/178ko0g73oimi4oy.ll
+5 actix-rs/1heyflno2zbhb99l.ll
+5 quinn-rs/ey4dcuzpw4qgb9sgokuatlt89.ll
+5 ruff-rs/cfxd69c6qnho6x36na7837ea7.ll
+4 fish-rs/8zxt2gjt68ikxu18thf3foa45.ll
+4 fish-rs/c38lur5pw95ohzh85gfwxtm3n.ll
+4 foundations-rs/2x6ktvhba8qdodxx4fu7t67t2.ll
+3 actix-rs/4pmtvrahn6eloepe.ll
+3 mini-lsm-rs/2y1m09w3fogtr6jd.ll
+3 quinn-rs/em94uyxz0wp9gccfab963606p.ll
+3 yara-x-rs/cuynzwkmf4lxp81cl2zzl1pa9.ll
+2 elfshaker-rs/9g25xiovadbzz8leri5a9ttiq.ll
+2 jiff-rs/6v5jz1tl6zqdv4zpvzdoaqaiw.ll
+2 yara-x-rs/ehd2m88swoa0hwh8k90dxhn2z.ll
+1 actix-rs/2d9c72efneckaqzp.ll
+1 rustfmt-rs/4gk399kploc9gcsb.ll
+1 syn/3r5osr990qsnm7hf.ll
+1 uv-rs/8qa24rqyghanp1vhbawjcm1bw.ll
+1 wasmtime-rs/4bsmuvpz9r22ks1w.ll
-1 yara-x-rs/aqllqyzrtxqplivthssual6c8.ll

@github-actions
Copy link
Contributor

The provided patch introduces several uses of @llvm.assume with alignment metadata and adjusts pointer alignments in memset calls. Here are the major changes:

  1. Addition of @llvm.assume for Alignment Guarantees: Multiple instances of call void @llvm.assume(i1 true) [ "align"(ptr %x, i64 N) ] are inserted across various functions. This informs the optimizer that specific pointers are aligned to certain boundaries (e.g., 8-byte or 4-byte), enabling better optimization decisions.

  2. Increased Alignment in memset Calls: Several @llvm.memset.p0.i64 calls have their alignment attribute increased from align 4 to align 8. This reflects a stronger alignment guarantee, allowing more efficient memory operations.

  3. Control Flow Adjustments: In some cases, such as in diesel-rs, control flow is restructured—labels are renamed and new branches are introduced—likely to accommodate assumptions or improve code layout post-optimization.

  4. Phi Node Updates: Some phi nodes in loops are updated to reflect new predecessor blocks due to control flow changes, ensuring correct value merging after restructuring.

  5. Declaration of @llvm.assume: The intrinsic @llvm.assume is declared in multiple files with appropriate attributes, indicating its use for optimization hints without side effects (inaccessiblemem: write).

model: qwen-plus-latest
CompletionUsage(completion_tokens=294, prompt_tokens=109911, total_tokens=110205, completion_tokens_details=None, prompt_tokens_details=None)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants